![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Receiver port pipeline. More...
#include <receiver_port.h>
Public Member Functions | |
ReceiverPort (const PortConfig &config, const rtp::FormatMap &format_map, core::IAllocator &allocator) | |
Initialize. More... | |
bool | valid () const |
Check if the port pipeline was succefully constructed. More... | |
const PortConfig & | config () const |
Get port config. More... | |
bool | handle (packet::Packet &packet) |
Try to handle packet on this port. More... | |
![]() | |
long | getref () const |
Get reference counter. More... | |
void | incref () const |
Increment reference counter. More... | |
void | decref () const |
Decrement reference counter. More... | |
![]() | |
ListNodeData * | list_node_data () const |
Get list node data. More... | |
Friends | |
class | core::RefCnt< ReceiverPort > |
Receiver port pipeline.
Definition at line 30 of file receiver_port.h.
roc::pipeline::ReceiverPort::ReceiverPort | ( | const PortConfig & | config, |
const rtp::FormatMap & | format_map, | ||
core::IAllocator & | allocator | ||
) |
Initialize.
const PortConfig & roc::pipeline::ReceiverPort::config | ( | ) | const |
Get port config.
bool roc::pipeline::ReceiverPort::handle | ( | packet::Packet & | packet | ) |
Try to handle packet on this port.
bool roc::pipeline::ReceiverPort::valid | ( | ) | const |
Check if the port pipeline was succefully constructed.
|
friend |
Definition at line 46 of file receiver_port.h.